package rjgc.mall.service;

import rjgc.mall.entity.Collection;
import rjgc.mall.entity.Goods;
import rjgc.mall.entity.ShoppingCart;

import java.util.List;
import rjgc.mall.entity.Goods;
import rjgc.mall.entity.vo.CollectionList;


public interface CollectionService {
    public int AddToCollection(Integer userid,Goods good);

    public int RemoveFromCollection(Integer id);
    public int RemoveFromCollectionByStatus(Integer userid);
    public List<Collection> ShowUserCollection(Integer userid);

    public int SelectAll(Integer userid);
    public int NotSelectAll(Integer userid);
    public int SelectOneOrNot(Integer id);
    CollectionList viewList(Integer userId);
    //将选中商品移入购物车
    public Integer MoveToShoppingCart(Integer userid);

}
